package com.java2207.group1.mapper;

import com.java2207.group1.pojo.Staff;
import com.java2207.group1.vo.staff.StaffBarVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface StaffMapper {
    List<Staff> selectPageDate(Map<String, Object> params);

    int addStaff(Staff staff);

    int deleteStaff(Integer id);

    int updateStaff(Staff staff);

    int removeStaff(@Param("ids") String[] ids);

    List<StaffBarVo> numberEchartBar();
}
